<include file="Common:header"/>
  	<title>订单确认</title>
	<css file="__PUBLIC__/Index/css/cart.css"/>
	<js file="__PUBLIC__/js/jquery-1.8.2.min.js"/>
	<js file="__PUBLIC__/Index/js/order.js"/>
	<include file="Common:topmenubar"/>
	<div class="goodscont">
		<div class="nogoods">
			<div class="flow-steps">
			    <ol class="num5 clearfix">
			      <li class="current"><span class="first">1. 加入购物车</span></li>
			      <li><span>2. 确认订单</span></li>
			      <li><span>3. 付款</span></li>
			      <li><span>4. 收货</span></li>
			      <li class="last"><span>5. 成功</span></li>
			    </ol>
			</div>
			<div class="emptybox">
				<div class="emptycart">
					<h2>您的购物车还是空的，赶紧行动吧！您可以：</h2>
					<p>
					    如果您还未登录，可能导致购物车为空，请 <b><a href="">马上登录</a></b><br/>
					    马上去 <b><a href="">挑选商品</a></b>
					</p>
				</div>
			</div>
		</div>
		<div class="cartbox">
			<form action="{:U('Order/addOrder')}" method="post">
			<div class="flow-steps">
			    <ol class="num5">
			      <li class="done current-prev" style="width:300px;"><span class="first">1. 加入购物车</span></li>
			      <li style="width:300px;" class="current"><span>2. 确认订单信息</span></li>
			      <li class="last" style="width:300px;"><span>3. 成功提交订单 去付款</span></li>
			    </ol>
  			</div>
  			<div class="useraddress">
				<p>已有账户，那就先 &nbsp<b><a href="">登录OSA</a></b>&nbsp ,购买可以累计商城积分</p>
				<p><b>确认收货地址:</b>&nbsp<a href="">管理我的收货地址</a></p>
				<table >
					<tr>
						<td>收货人姓名：<em>*</em></td>
						<td><input type="text" name="username"></td>
					</tr>
					<tr>
						<td>手机号码：<em>*</em></td>
						<td><input name="mb"></td>
					</tr>
					<tr>
						<td>邮政编码：<em>*</em></td>
						<td><input name="uzh"></td>
					</tr>
					
					<tr>
						<td>常用邮箱：<em>*</em></td>
						<td><input type="text" name="email"></td>
					</tr>
					<tr>
						<td>所在地区：<em>*</em></td>
						<td>
							<select name="area1">
								<option value="0">-请选择-</option>
								<option value="北京">北京</option>
								<option value="sh">上海</option>
								<option value="gz">广州</option>
								<option value="tj">天津</option>
								<option value="hb">河北</option>
							</select>
							<select name="area2">
								<option value="0">-请选择-</option>
								<option value="朝阳">朝阳</option>
								<option value="shpd">浦东新区</option>
								<option value="gdgz">广州</option>
								<option value="tjdq">东区</option>
								<option value="sjz">石家庄</option>
							</select>
							<select name="area3">
								<option value="">-请选择-</option>
								<option value="小营路">小营路</option>
								<option value="">大路</option>
								<option value="">广州</option>
								<option value="">天津</option>
								<option value="">河北</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>街道地址：<em>*</em></td>
						<td>
							<textarea name="detaddress"></textarea>
						</td>
					</tr>
					
					<tr>
						<!-- <td colspan="2" align="center">
							<input type="submit" name="">
						</td> -->
					</tr>
				</table>
			</div>
			<div class="buytype">
				<ul>
					<li class="bttitle"><span>支付方式</span></li>
					<li>
						<table>
							<th>支付</th>
							<th>名称</th>
							<th>订购描述</th>
							<th>手续费</th>
							<tr>
								<td><input type="radio" name="buytype" value="1" pp="10"></td>
								<td>货到付款</td>
								<td>收取手续费10元，偶人发顺丰快递，不到的地区发EMS</td>
								<td>10.00</td>
							</tr>
							<tr>
								<td><input type="radio" name="buytype" value="2" checked="checked" pp="0"></td>
								<td>支付宝</td>
								<td>支付宝支付、安全、快捷、方便可以使用快捷信用卡支付,无需办理网银。</td>
								<td>0.00</td>
							</tr>
							<tr>
								<td><input type="radio" name="buytype" value="3" pp="0"></td>
								<td>网上银行支付</td>
								<td>使用网银支付 省手续费</td>
								<td>0.00</td>
							</tr>
							<tr>
								<td><input type="radio" name="buytype" value="4" pp="0"></td>
								<td>财付通</td>
								<td>支持财付通付款</td>
								<td>0.00</td>
							</tr>
						</table>
					</li>
				</ul>
				<ul class="transporttype">
					<li class="bttitle"><span>运送方式</span></li>
					<li>
						<table >
							<tr>
								<td width="38px;"><input type="radio" name="transporttype" value="1" checked="checked" tp="15"></td>
								<td align="left">快递&nbsp15元</td>
							</tr>
							<tr>
								<td width="38px;"><input type="radio" name="transporttype" value="2" tp="20"></td>
								<td>EMS&nbsp20元</td>
							</tr>	
							<tr class="msg">
								<td colspan="2">&nbsp&nbsp&nbsp<font color="red"><b>温馨提示：货到付款的物流方式只有EMS和顺丰，建议亲在下货到付款的时候，请留言快递方式。如：EMS ，顺丰 </b></font></td>
							</tr>						
						</table>
					</li>
				</ul>
			</div>
			<div class="gsin">
				确认订单信息
			</div>
			<ul class="gsshow">
				<li style="width:310px;">商品详情</li>
				<li style="width:210px;">单价(元)</li>
				<li style="width:210px;">数量</li>
				<li style="width:210px;">小计(元)</li>
			</ul>
			<div class="gslistbox">
				<foreach name="data" item="val">
					<ul class="buygslist">
						<li class="gsinfo">
							<a href="{:U('GoodsCont/index' ,array('gid'=>$val[gid]))}" title="{$val.gname}"><img src="{$val.gimg}" alt="{$val.gname}" ></a>
							<div class="gsintro">
								<p><a href="">{$val.gname}</a></p>
								<span>颜色：{$val.color}</span><br/>
								<span>尺码：{$val.size}</span>
							</div>
						</li>
						<li class="lc sprice" style="width:200px;">{$val.sprice}</li>
						<li class="lc" style="width:200px;">
							{$val.number}
							<input type="hidden" name="buynumberh[]" value="{$val.number}">
						</li>
						<li class="lc" style="width:200px;">
							<b class="totalprice">{$val.totalPrice}</b>
						</li>
					</ul>
				</foreach>
				<div class="msgtoboss">
					<p>给卖家留言:</p>
					<textarea name="usermsg" style="height:30px;width:400px; float:left; font-size:12px;"></textarea>
				</div>
				<div class="allpshow">
					<table>
						<tr>
							<th width="720px"></th>
							<th>总计：</th>
							<td></td>
						</tr>
						<tr class="gspsum">
							<td ></td>
							<td width="120px">商品金额总计：</td>
							<td width="100px">￥<span class="ap">{:number_format($sumPrice,'2')}</span>元</td>
						</tr>
						
						<tr>
							<td width="80px"></td>
							<td>运费：</td>
							<td>￥<span class="tp">15.00</span>元</td>
						</tr>
						
						<tr>
							<td></td>
							<td>实付款:</td>
							<td>￥<span class="rp">{:number_format($sumPrice+15,'2')}</span>元</td>
						</tr>
					</table>
					<div class="suborder">
						<input type="submit">
					</div>
				</div>
			</div>
			</form>
		</div>
		<!-- 网站声明信息 -->
		<div class="netsay">
			<ul>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2qwzmXihaXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2_X1WXgpbXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2VBu6XcNbXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2SnPiXe8bXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2qjDqXchXXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
			</ul>
			<div class="bottommsg">
			<b>版权声明</b>
			</div>
		</div><!-- 网站声明信息 -->
	</div>
	</body>
</html>